package com.yanyilu.basing.mapper;

import com.yanyilu.basing.entity.CountPoint;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Sxx
 * @since 2020-10-30
 */
public interface CountPointMapper extends BaseMapper<CountPoint> {

    CountPoint selectByTimeAndbtnName(@Param("time") int startTime, @Param("name")String btnName);

    List<CountPoint> selectAll(@Param("time") String startTime, @Param("name")String btnName);

}
